package com.ruoyi.ftrl.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 实时天气预报对象 weather
 * 
 * @author dihang
 * @date 2024-08-05
 */
public class Weather extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 城市id */
    @Excel(name = "城市id")
    private String  cityId;

    /** 城市名称 */
    @Excel(name = "城市名称")
    private String cityName;

    /** 国家 */
    @Excel(name = "国家")
    private String country;

    /** 路径 */
    @Excel(name = "路径")
    private String path;

    /** 时区 */
    @Excel(name = "时区")
    private String timezone;

    /** 时区偏移 */
    @Excel(name = "时区偏移")
    private String timezoneOffset;

    /** 天气现象 */
    @Excel(name = "天气现象")
    private String weatherText;

    /** 天气代码 */
    @Excel(name = "天气代码")
    private String weatherCode;

    /** 温度 */
    @Excel(name = "温度")
    private String temperature;

    /** 体感温度 */
    @Excel(name = "体感温度")
    private String feelsLike;

    /** 气压 */
    @Excel(name = "气压")
    private String pressure;

    /** 湿度 */
    @Excel(name = "湿度")
    private String humidity;

    /** 能见度 */
    @Excel(name = "能见度")
    private String visibility;

    /** 风向 */
    @Excel(name = "风向")
    private String windDirection;

    /** 风向角度 */
    @Excel(name = "风向角度")
    private String windDirectionDegree;

    /** 风速 */
    @Excel(name = "风速")
    private String windSpeed;

    /** 风力等级 */
    @Excel(name = "风力等级")
    private String windScale;

    /** 云量 */
    @Excel(name = "云量")
    private String clouds;

    /** 露点温度 */
    @Excel(name = "露点温度")
    private String dewPoint;

    /** 数据更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "数据更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastUpdate;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String field1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String field2;

    /** 备用字段3 */
    @Excel(name = "备用字段3")
    private String field3;

    /** 备用字段4 */
    @Excel(name = "备用字段4")
    private String field4;

    /** 备用字段5 */
    @Excel(name = "备用字段5")
    private String field5;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public void setCityName(String cityName)
    {
        this.cityName = cityName;
    }

    public String getCityName() 
    {
        return cityName;
    }
    public void setCountry(String country) 
    {
        this.country = country;
    }

    public String getCountry() 
    {
        return country;
    }
    public void setPath(String path) 
    {
        this.path = path;
    }

    public String getPath() 
    {
        return path;
    }
    public void setTimezone(String timezone) 
    {
        this.timezone = timezone;
    }

    public String getTimezone() 
    {
        return timezone;
    }
    public void setTimezoneOffset(String timezoneOffset) 
    {
        this.timezoneOffset = timezoneOffset;
    }

    public String getTimezoneOffset() 
    {
        return timezoneOffset;
    }
    public void setWeatherText(String weatherText) 
    {
        this.weatherText = weatherText;
    }

    public String getWeatherText() 
    {
        return weatherText;
    }
    public void setWeatherCode(String weatherCode) 
    {
        this.weatherCode = weatherCode;
    }

    public String getWeatherCode() 
    {
        return weatherCode;
    }
    public void setTemperature(String temperature) 
    {
        this.temperature = temperature;
    }

    public String getTemperature() 
    {
        return temperature;
    }
    public void setFeelsLike(String feelsLike) 
    {
        this.feelsLike = feelsLike;
    }

    public String getFeelsLike() 
    {
        return feelsLike;
    }
    public void setPressure(String pressure) 
    {
        this.pressure = pressure;
    }

    public String getPressure() 
    {
        return pressure;
    }
    public void setHumidity(String humidity) 
    {
        this.humidity = humidity;
    }

    public String getHumidity() 
    {
        return humidity;
    }
    public void setVisibility(String visibility) 
    {
        this.visibility = visibility;
    }

    public String getVisibility() 
    {
        return visibility;
    }
    public void setWindDirection(String windDirection) 
    {
        this.windDirection = windDirection;
    }

    public String getWindDirection() 
    {
        return windDirection;
    }
    public void setWindDirectionDegree(String windDirectionDegree) 
    {
        this.windDirectionDegree = windDirectionDegree;
    }

    public String getWindDirectionDegree() 
    {
        return windDirectionDegree;
    }
    public void setWindSpeed(String windSpeed) 
    {
        this.windSpeed = windSpeed;
    }

    public String getWindSpeed() 
    {
        return windSpeed;
    }
    public void setWindScale(String windScale) 
    {
        this.windScale = windScale;
    }

    public String getWindScale() 
    {
        return windScale;
    }
    public void setClouds(String clouds) 
    {
        this.clouds = clouds;
    }

    public String getClouds() 
    {
        return clouds;
    }
    public void setDewPoint(String dewPoint) 
    {
        this.dewPoint = dewPoint;
    }

    public String getDewPoint() 
    {
        return dewPoint;
    }
    public void setLastUpdate(Date lastUpdate)
    {
        this.lastUpdate = lastUpdate;
    }

    public Date getLastUpdate() 
    {
        return lastUpdate;
    }
    public void setField1(String field1) 
    {
        this.field1 = field1;
    }

    public String getField1() 
    {
        return field1;
    }
    public void setField2(String field2) 
    {
        this.field2 = field2;
    }

    public String getField2() 
    {
        return field2;
    }
    public void setField3(String field3) 
    {
        this.field3 = field3;
    }

    public String getField3() 
    {
        return field3;
    }
    public void setField4(String field4) 
    {
        this.field4 = field4;
    }

    public String getField4() 
    {
        return field4;
    }
    public void setField5(String field5) 
    {
        this.field5 = field5;
    }

    public String getField5() 
    {
        return field5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cityId", getCityId())
            .append("cityName", getCityName())
            .append("country", getCountry())
            .append("path", getPath())
            .append("timezone", getTimezone())
            .append("timezoneOffset", getTimezoneOffset())
            .append("weatherText", getWeatherText())
            .append("weatherCode", getWeatherCode())
            .append("temperature", getTemperature())
            .append("feelsLike", getFeelsLike())
            .append("pressure", getPressure())
            .append("humidity", getHumidity())
            .append("visibility", getVisibility())
            .append("windDirection", getWindDirection())
            .append("windDirectionDegree", getWindDirectionDegree())
            .append("windSpeed", getWindSpeed())
            .append("windScale", getWindScale())
            .append("clouds", getClouds())
            .append("dewPoint", getDewPoint())
            .append("lastUpdate", getLastUpdate())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("field1", getField1())
            .append("field2", getField2())
            .append("field3", getField3())
            .append("field4", getField4())
            .append("field5", getField5())
            .toString();
    }
}
